www.gusucode.com > 落叶冰点万能企业网站内容管理系统 V9.1 > 落叶冰点万能企业网站内容管理系统 V9.1\code\admin\adminSysTools\D_scan_string_in_all_templates.asp

    <%


'**************************************************************
' 新动软网站管理系统
' 官方网站: http://www.aspcpu.com
' 系统作者: 阮丁远(网名:天下程序)
' Copyright 新动软网站管理系统 版权所有
'**************************************************************


%>




<%

dir_set="../../"







%>
<!--#include file=../../inc/conn.asp-->






<!--#include file=../inc/checkadmin2.asp-->

<!--#include file=../../inc/functionFiless.asp-->


<!--#include file=../../inc/functionb.asp-->



<%


if find_dataw("qitashezhi123","0",7)<>"1" and qx_if_max=0 then
response.redirect "../D_suodinguser.asp"
end if

%>

<LINK href="../css.css" type=text/css rel=stylesheet>


<font style="font-size:16px;color:#ff0000">查找子模板:</font>

<br>

<table    border="0"  cellpadding="0" cellspacing="0" >

    <tr>

<td>
<form action="D_scan_string_in_all_templates_do.asp?qiye=0" method="post">




请选择在哪个主模板文件夹里查找子模板:<select name=t size=1>

<option value="no">请选择</option>
<%



set rs1=server.CreateObject("adodb.recordset")
       
rs1.open "select * from ND_templates_folder_reg",conn,1,1
do while not rs1.eof
%>



<option value="<%=rs1("templates_folder_path_name")%>"><%=rs1("templates_folder_path_name")%></option>

<%
rs1.movenext
loop
%>



</select>
<br>


请输入子模板代码内容关键字以查找子模板:

<textarea name=data1 cols=60 rows=3></textarea>


<br>



</td>

</tr>
    <tr>

<td width=100% align=center>
<br>

<input type="submit" value="查  找" />
</td>

</tr>

</form>
</table>









<hr><font  style="font-size:16px;color:#ff0000">批量替换模板代码内容(替换前系统会为您自动备份模板):</font><br>

<table    border="0"  cellpadding="0" cellspacing="0" >

    <tr>

<td>
<form action="D_scanth_string_in_all_templates_do.asp?qiye=0" method="post">




请选择在哪个主模板文件夹里替换子模板代码内容:<select name=t size=1>

<option value="no">请选择</option>
<%



set rs1=server.CreateObject("adodb.recordset")
       
rs1.open "select * from ND_templates_folder_reg",conn,1,1
do while not rs1.eof
%>



<option value="<%=rs1("templates_folder_path_name")%>"><%=rs1("templates_folder_path_name")%></option>

<%
rs1.movenext
loop
%>



</select>
<br>


请输入要批量替换的模板代码内容:<br>
<textarea name=data1 cols=60 rows=7></textarea>

<br>
请输入要替换成 什么内容:<br>

<textarea name=data2 cols=60 rows=7></textarea>
<br>


</td>

</tr>
    <tr>

<td width=100% align=center>


<input type="submit" value="开 始 批 量 替 换" />
</td>

</tr>

</form>
</table>